package com.zjlp.seproject.service;

import com.zjlp.seproject.pojo.Comment;
import com.zjlp.seproject.pojo.CommentDetails;

import java.util.List;

public interface CommentService {
    List<Comment> selectAll();

    int deleteByPrimaryKey(Integer id);

    int insert(Comment record);

    Comment selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Comment record);

    Integer addComment(Comment comment);

    List<CommentDetails> getCommnet(Integer id);
}
